/**
 * 
 */
package dk.dtu.is.utility.jess;

import java.beans.*;

/**
 * This abstract class serves to provide JavaBeans object with the feature of being dynamic.
 * This class has been coded based upon the book <i>Jess In Action</i> (see page 230) 
 * 
 * @author dsac
 * @date 09-Nov-2012
 * 
 */
public abstract class BeanSupport {

	protected PropertyChangeSupport pcs = new PropertyChangeSupport(this);

	public void addPropertyChangeListener(PropertyChangeListener p) {
		pcs.addPropertyChangeListener(p);
	}

	public void removePropertyChangeListener(PropertyChangeListener p) {
		pcs.removePropertyChangeListener(p);
	}
}
